package com.mioto.ld.module.device.model;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.mioto.ld.utils.BaseUtil;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * @author mioto-qinxj
 * @date 2024/6/1
 * @desc 设备状态统计
 */
@Getter
@Setter
public class DeviceStatusStatisticVO {
    @ApiModelProperty("总数量")
    private int totalCount;
    @ApiModelProperty("在线数量")
    private int onlineCount;
    @ApiModelProperty("离线数量")
    private int offlineCount;
    @ApiModelProperty("故障数量")
    private int faultCount;
    @ApiModelProperty("正常数量")
    private int normalCount;
    @JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
    private String faultSns;
    @JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
    private String deviceSns;
}
